﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HelloWorld
{
    class OrientObject
    {
        
    }

    class PC
    {
        private string screen;
        public string Screen
        {
            get => screen;
            set => screen = value;
        }
        private string cpu;
        public string CPU
        {
            get { return cpu; }
            set { cpu = value; }
        }
        // private set; 则不可设置值，或省略set，默认也是private，只有显示声明为public
        public string GPU { get; set; } = "Pro Display XDR";
    }
}
